#ifndef _MAIN_MENU_H_
#define _MAIN_MENU_H_

#include "BaseLayout/BaseLayout.h"

namespace sgGUI
{

	ATTRIBUTE_CLASS_LAYOUT(MainMenu, "MainMenu");
	class MainMenu :
		public wraps::BaseLayout
	{
	public:
		MainMenu(MyGUI::Widget* _parent = nullptr);
		virtual ~MainMenu();

	private:
        void onStart( MyGUI::Widget *sender );
        void onExit( MyGUI::Widget *sender );
	//%LE Widget_Declaration list start
		ATTRIBUTE_FIELD_WIDGET_NAME(MainMenu, mstartButton, "start");
		MyGUI::Button* mstartButton;
		ATTRIBUTE_FIELD_WIDGET_NAME(MainMenu, mendButton, "end");
		MyGUI::Button* mendButton;
	//%LE Widget_Declaration list end
	};

} // namespace sgGUI

#endif // _MAIN_MENU_H_
